package com.shi.enums;

import lombok.Getter;

@Getter
public enum PermCodeEnum {
    NO_NEED_PERM("no:need:auth", "不需要任何权限"),
    EMP_SELECT("emp:select", "emp表的查询权限"),
    EMP_DELETE("emp:delete", "emp表的删除权限"),
    EMP_UPDATE("emp:update", "emp表的修改权限");

    private String code;
    private String desc;

    PermCodeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
